from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^$', views.index),
    url(r'^getbooks$', views.getbooks, name='get_books'),
    url(r'^getbook_by_id$', views.getbook_by_id),
    url(r'^getform$', views.getform),
    url(r'^getsession$', views.getsession),
    url(r'^redirect_test$', views.redirect_test),
    url(r'^basemodel_exbook$', views.basemodel_exbook),
    url(r'^gethero_by_id/(\d+)', views.gethero_by_id, name='get_hero'),
    url(r'^redirect_reverse_arg$', views.redirect_reverse_arg),
    url(r'^redirect_reverse$', views.redirect_reverse),
    url(r'^getbook_page1$', views.getbook_page1),
    url(r'^visit_ajax$', views.visit_ajax),
    url(r'^ajax_test$', views.ajax_test),
]